package 结构型模型.代理模式.静态代理;

public class ProxyStar implements Star{
    private ZStar zStar;

    public ProxyStar(ZStar zStar) {
        this.zStar = zStar;
    }

    @Override
    public void sing() {
        System.out.println("开始准备");
        zStar.sing();
        System.out.println("结束完结");
    }
}
